package org.example.entity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.entity
 * @Author: StarBonny
 * @CreateTime: 2024-12-22  23:00
 * @Description: 职位类型实体类
 * @Version: 1.0
 */
public class PositionType {
    private int positionTypeId;
    private String name;
    private int userTypeIdFk;
    private Date submitDate;
    private int status;

    @Override
    public String toString() {
        return "PositionType{" +
                "positionTypeId=" + positionTypeId +
                ", name='" + name + '\'' +
                ", userTypeIdFk=" + userTypeIdFk +
                ", submitDate=" + submitDate +
                ", status=" + status +
                '}';
    }

    public int getPositionTypeId() {
        return positionTypeId;
    }

    public void setPositionTypeId(int positionTypeId) {
        this.positionTypeId = positionTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserTypeIdFk() {
        return userTypeIdFk;
    }

    public void setUserTypeIdFk(int userTypeIdFk) {
        this.userTypeIdFk = userTypeIdFk;
    }

    public Date getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Date submitDate) {
        this.submitDate = submitDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public PositionType(){}

    public PositionType(int positionTypeId, String name, int userTypeIdFk, Date submitDate, int status) {
        this.positionTypeId = positionTypeId;
        this.name = name;
        this.userTypeIdFk = userTypeIdFk;
        this.submitDate = submitDate;
        this.status = status;
    }
}
